﻿@model EditorialProyectos.Website.Models.CategoryViewModel

<h2>Borrar categoria</h2>

<div class="row action-bar">
    @Action.Back()

    @SelectedAction.Update()
</div>

<div class="row" data-bind="with: SelectedItem">
    @using (Html.BeginForm("Delete", "Category", FormMethod.Post, new { id = "CategoryDelete" }))
    {
        @Html.Partial("FieldsPartial", Model)

        <button data-bind="click: $root.Delete" type="submit" class="btn btn-action btn-full-width">@Html.LocalizedAction("Delete")</button>
    }
</div>
